﻿using System.Web.Mvc;
using Sportsbook.Domain.Repositories;


namespace Sportsbook.Website.Controllers
{
    public class MenuController : Controller
    {
        private readonly IMenusRepository repository;

        public MenuController(IMenusRepository repository)
        {
            this.repository = repository;
        }

        public ActionResult Index()
        {
            var model = repository.Get();
            return View(model);
        }
        //public ActionResult Index(string customerId)
        //{
        //    var model = repository.GetByCustomerId(customerId);
        //    return View(model);
        //}
    }
}
